package com.pet_service.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.pet_service.util.CodeEnum;

/**
 * 订单服务类型枚举
 */
public enum TOrderServiceType implements CodeEnum {
    HOME_SERVICE(1, "上门服务"),
    FOSTER_SERVICE(2, "寄养服务");

    @EnumValue
    private final int code;
    private final String desc;

    TOrderServiceType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() { return code; }
    public String getDesc() { return desc; }
}
